﻿/*** This script will only run if the version number in the databse is less than 01.10.00 ***/
if((SELECT REPLACE(VersionNumber,'.','') FROM Version) < '011000')
BEGIN

	/*** Insert Default data ***/
	DELETE FROM SilverlightDesktopModules WHERE (ModuleName = N'WhoAmI')
	INSERT INTO SilverlightDesktopModules (ModuleName, ModuleDescription, AssemblyName, ClassName, IconName, [Role], WindowSize, AllowMultipleInstances)
	VALUES(N'WhoAmI', N'Displays information about the current user', N'WhoAmI.xap', N'WhoAmI.Page', N'WhoAmI.jpg', N'Any', N'20', N'True')

	/** Update Version **/
	DELETE FROM Version
	INSERT INTO Version(VersionNumber) VALUES (N'01.10.00')

END
